#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int Orge(int a, int b)
{
	int temp = 0;
	int sum = 0;
	for (int i = 0; i < a; i++)
	{
		temp = temp * 10 + b;
		sum += temp;
	}
	return sum;
}
int main()
{
	int n = Orge(5,2);
	printf("%d", n);
	return 0;
}